<?php
/**
 * Created by PhpStorm.
 * User: v.xiaqc
 * Date: 2019/2/15
 * Time: 18:25
 */

namespace app\models;


use yii\db\Query;

class CountryModel extends Query
{
    private $table = 'country';

    public function get($param = '')
    {
        return $this->from('country')->orderBy('code ASC')->limit(5)->offset(5)->->all();
    }
}